package com.njkwt.business.system.domain;

import java.util.Date;

public class SysMessage {
    private String id;

    private String typename;

    private String typeid;

    private String fromid;

    private String toid;

    private String fromname;

    private String toname;

    private Integer fromstatus;

    private Integer tostatus;

    private String href;

    private String title;

    private String content;

    private Date createtime;

    private String createid;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename;
    }

    public String getTypeid() {
        return typeid;
    }

    public void setTypeid(String typeid) {
        this.typeid = typeid;
    }

    public String getFromid() {
        return fromid;
    }

    public void setFromid(String fromid) {
        this.fromid = fromid;
    }

    public String getToid() {
        return toid;
    }

    public void setToid(String toid) {
        this.toid = toid;
    }

    public String getFromname() {
        return fromname;
    }

    public void setFromname(String fromname) {
        this.fromname = fromname;
    }

    public String getToname() {
        return toname;
    }

    public void setToname(String toname) {
        this.toname = toname;
    }

    public Integer getFromstatus() {
        return fromstatus;
    }

    public void setFromstatus(Integer fromstatus) {
        this.fromstatus = fromstatus;
    }

    public Integer getTostatus() {
        return tostatus;
    }

    public void setTostatus(Integer tostatus) {
        this.tostatus = tostatus;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCreateid() {
        return createid;
    }

    public void setCreateid(String createid) {
        this.createid = createid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", typename=").append(typename);
        sb.append(", typeid=").append(typeid);
        sb.append(", fromid=").append(fromid);
        sb.append(", toid=").append(toid);
        sb.append(", fromname=").append(fromname);
        sb.append(", toname=").append(toname);
        sb.append(", fromstatus=").append(fromstatus);
        sb.append(", tostatus=").append(tostatus);
        sb.append(", href=").append(href);
        sb.append(", title=").append(title);
        sb.append(", content=").append(content);
        sb.append(", createtime=").append(createtime);
        sb.append(", createid=").append(createid);
        sb.append("]");
        return sb.toString();
    }
}